<div class="row">
    <div
        class="col-xs-12 col-sm-6 {$maxLevel == 3 ? 'col-md-4' : ($maxLevel == 2 ? 'col-md-6' : 'col-md-12')} {$maxLevel == 3 ? 'col-lg-4' : ($maxLevel == 2 ? 'col-lg-6' : 'col-lg-12')}">
        <div class="panel panel-default panel-intro">
            {:build_heading()}
            <div class="panel-body">
                <div id="myTabContent1" class="tab-content">
                    <div class="tab-pane fade active in" id="one">
                        <div class="widget-body no-padding">
                            <div id="toolbar1" class="toolbar">
                                <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                        class="fa fa-refresh"></i> </a>
                                <a href="javascript:;"
                                    class="btn btn-success btn-add {:$auth->check('carbon/calculation/type/add')?'':'hide'}"
                                    title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
                                <a href="javascript:;"
                                    class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('carbon/calculation/type/edit')?'':'hide'}"
                                    title="{:__('Edit')}"><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                                <a href="javascript:;"
                                    class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('carbon/calculation/type/del')?'':'hide'}"
                                    title="{:__('Delete')}"><i class="fa fa-trash"></i> {:__('Delete')}</a>
                            </div>
                            <table id="table1" class="table table-striped table-bordered table-hover table-nowrap"
                                data-operate-edit="{:$auth->check('carbon/calculation/type/edit')}"
                                data-operate-del="{:$auth->check('carbon/calculation/type/del')}" width="100%">
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {if $maxLevel==2 ||$maxLevel==3}
    <div
        class="col-xs-12 col-sm-6 {$maxLevel == 3 ? 'col-md-4' : 'col-md-6'} {$maxLevel == 3 ? 'col-lg-4' : 'col-lg-6'}">
        <div class="panel panel-default panel-intro">
            <div class="panel-body">
                <div id="myTabContent2" class="tab-content">
                    <div class="tab-pane fade active in" id="one">
                        <div class="widget-body no-padding">
                            <div id="toolbar2" class="toolbar">
                                <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                        class="fa fa-refresh"></i> </a>
                            </div>
                            <table id="table2" class="table table-striped table-bordered table-hover table-nowrap"
                                data-operate-edit="{:$auth->check('carbon/calculation/type/edit')}"
                                data-operate-del="{:$auth->check('carbon/calculation/type/del')}" width="100%">
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {/if}
    {if $maxLevel==3}
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4">
        <div class="panel panel-default panel-intro">
            <div class="panel-body">
                <div id="myTabContent3" class="tab-content">
                    <div class="tab-pane fade active in" id="one">
                        <div class="widget-body no-padding">
                            <div id="toolbar3" class="toolbar">
                                <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                        class="fa fa-refresh"></i> </a>
                            </div>
                            <table id="table3" class="table table-striped table-bordered table-hover table-nowrap"
                                data-operate-edit="{:$auth->check('carbon/calculation/type/edit')}"
                                data-operate-del="{:$auth->check('carbon/calculation/type/del')}" width="100%">
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {/if}
</div>